package cn.yma.bus.annotation;

import cn.yma.bus.RedisBusConfiguration;
import org.springframework.context.annotation.Import;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 开启消息注释
 */
@Target({ElementType.TYPE})
@Import(RedisBusConfiguration.class)
@Retention(RetentionPolicy.RUNTIME)
public @interface MessageAble {
}
